WORST_CASE(?,O(n^1)) Solution: --------- "Cons" :: ["A"(0) x "A"(0)] -(5)-> "A"(5) "Cons" :: ["A"(0) x "A"(0)] -(8)-> "A"(8) "Cons" :: ["A"(0) x "A"(0)] -(4)-> "A"(4) "Cons" :: ["A"(0) x "A"(0)] -(1)-> "A"(1) "Leaf" :: ["A"(15)] -(15)-> "A"(15) "Nil" :: [] -(0)-> "A"(12) "Nil" :: [] -(0)-> "A"(10) "Node" :: ["A"(15) x "A"(15)] -(15)-> "A"(15) "comp_f_g" :: ["A"(14) x "A"(14)] -(14)-> "A"(14) "comp_f_g#1" :: ["A"(14) x "A"(14) x "A"(4)] -(11)-> "A"(4) "cons_x" :: ["A"(14)] -(14)-> "A"(14) "main" :: ["A"(15)] -(11)-> "A"(2) "walk#1" :: ["A"(15)] -(0)-> "A"(14) Cost Free Signatures: --------------------- "Cons" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "Leaf" :: ["A"_cf(0)] -(0)-> "A"_cf(0) "Node" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "comp_f_g" :: ["A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "comp_f_g#1" :: ["A"_cf(0) x "A"_cf(0) x "A"_cf(0)] -(0)-> "A"_cf(0) "cons_x" :: ["A"_cf(0)] -(0)-> "A"_cf(0) "walk#1" :: ["A"_cf(0)] -(0)-> "A"_cf(0) Base Constructors: ------------------ "\"Cons\"_A" :: ["A"(0) x "A"(0)] -(1)-> "A"(1) "\"Leaf\"_A" :: ["A"(1)] -(1)-> "A"(1) "\"Nil\"_A" :: [] -(0)-> "A"(1) "\"Node\"_A" :: ["A"(1) x "A"(1)] -(1)-> "A"(1) "\"comp_f_g\"_A" :: ["A"(0) x "A"(0)] -(1)-> "A"(1) "\"cons_x\"_A" :: ["A"(0)] -(1)-> "A"(1)